<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
    <EnableDefaultItems>true</EnableDefaultItems>
    <DefaultItemExcludes>$(DefaultItemExcludes);nonentrypointassembly\*</DefaultItemExcludes>
    <!-- Needed for .NET Framework. -->
    <GenerateDependencyFile>true</GenerateDependencyFile>

    <!-- FluentAssertions library has a generic recursion and the warning breaks NativeAOT build -->
    <NoWarn>$(NoWarn);IL3054</NoWarn>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
    <PackageReference Include="Moq" Version="$(MoqVersion)" />
    <ProjectReference Include="..\src\Microsoft.Extensions.DependencyModel.csproj" SkipUseReferenceAssembly="true" />
    <ProjectReference Include="nonentrypointassembly\nonentrypointassembly.csproj" />
  </ItemGroup>

</Project>
